<template>
	<view class="page-view">
		<nav-view :defaultShow="true" :title="'关于我们'"></nav-view>
		<view class="page-conte">
			<view class="list-view-box">
				<view class="item-box is-flex" v-for="(item,index) in list" :key="index" @click="touchToNext(item)">
					<text>{{item.name}}</text>
					<i class="iconfont icon-jinruliuyan-01"></i>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				list:[
					{name:'用户协议',path:'/pages/mine/agreement',article_id:3},
					{name:'隐私政策',path:'/pages/mine/agreement',article_id:4}
				]
			}
		},
		methods:{
			touchToNext(item){
				uni.navigateTo({
					url:item.path+"?article_id="+item['article_id']
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.list-view-box {
		margin-top: 30rpx;
		padding: 0 40rpx;
	}
	.item-box {
		padding: 40rpx 0;
		position: relative;
		border-bottom: 1rpx solid #EDEDED;
		font-size: 32rpx;
		font-family: Source Han Sans CN-Regular, Source Han Sans CN;
		color: #333333;
	}
	.item-box .iconfont {
		font-size: 44rpx;
	}
	
</style>